package com.stydy.javadynamicproxy;

/**
 * 电动车类，实现交通工具，充电设备接口
 * Created by hhy on 2016/4/28.
 */
public class ElectricCar implements Vehicle,RechargableDevice {
    @Override
    public void recharge() {
        System.out.println("ElectricCar is recharging...");
    }

    @Override
    public void drive() {
        System.out.println("ElectricCar is moving on the road...");
    }
}
